{% extends 'base.html' %}

{% block content %}
<h4>{% if object %}编辑违纪申诉{% else %}新增违纪申诉{% endif %}</h4>
<form method="post" enctype="multipart/form-data">
    {% csrf_token %}
    {{ form.as_p }}
    <button type="submit" class="btn btn-primary">提交</button>
    <a href="{% url 'core:discipline_appeal_list' %}" class="btn btn-secondary">返回列表</a>
</form>
{% endblock %}